package com.sfzd5.mistakesbook.db;

import com.j256.ormlite.field.DatabaseField;

public class MistakesStudent {
    public final static String MISTAKES_ID_FIELD_NAME = "mistakes_id";
    public final static String STUDENT_ID_FIELD_NAME = "student_id";

    //用户项目编号
    @DatabaseField(generatedId = true, unique = true)
    public int id = -1;

    @DatabaseField(foreign = true, columnName=MISTAKES_ID_FIELD_NAME)
    public Mistakes mistakes;

    @DatabaseField(foreign = true, columnName=STUDENT_ID_FIELD_NAME)
    public Student student;
}
